﻿@{
    Layout = null;
}
@{
    ViewBag.Title = "t8";
}
<h2>
    t8</h2>
    <script src="/Scripts/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.unobtrusive-ajax.js" type="text/javascript"></script>

    
<script language='javascript'>
    function a() {
        alert('1');
    }
</script>

<div id="status">No Status</div>


<br />
<br />
@Ajax.ActionLink(
"Update Status",
"GetStatus",
"test",
new AjaxOptions
{

    UpdateTargetId = "status",
    OnBegin = "a()",
    OnComplete = "a()",
    LoadingElementId = "status"
}
)
